<?php


namespace App\HttpController;

use EasySwoole\Http\AbstractInterface\AbstractRouter;
use FastRoute\RouteCollector;
use EasySwoole\Http\Request;
use EasySwoole\Http\Response;

class Router extends AbstractRouter
{
    function initialize(RouteCollector $routeCollector)
    {
        //sh后台队列
        $routeCollector->get('/api/queuepush', '/Api/QueueProducer/index');
        $routeCollector->post('/api/queuepush', '/Api/QueueProducer/index');
    }
}